package com.qiwenshare.file.vo.file;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class FileListTreeVO {
    private String fileId;
    private String key;

    private String timeStampName;

    private String fileUrl;

    private Long fileSize;

    private Integer storageType;

    private Integer pointCount;

    private String identifier;

    private String userFileId;

    private Long userId;


    private String fileName;
    private String title;

    private String filePath;

    private String extendName;

    private Integer isDir;

    private String uploadTime;

    private Integer deleteFlag;

    private String deleteTime;

    private String deleteBatchNum;

    private Integer imageWidth;
    private Integer imageHeight;

    @JSONField(name = "isLeaf", label = "isLeaf")
    @JsonProperty("isLeaf")
    private boolean isLeaf;

    private List<FileListTreeVO> children;

    /**
     * 一级目录UserFileId
     */
    private String topUserFileId;
}
